def contain(aList,target):
    count=0
    for i in aList:
        if i==target:
            count += 1
    if count>1:
        return True
    return False


aList = input("请输入一个列表：")
target = input("您要查询的元素：")

flag = contain(list(aList),target)

if (flag):
    print("您查询的元素在列表中存在！")
else:
    print("您查询的元素在列表中不存在！")
